package com.baturu.mybatisminus.model;

import lombok.Data;
import org.apache.ibatis.type.*;

import java.io.Serializable;

/**
 * @author huangbin
 */
@Data
public class FieldInfo implements Serializable {

    private static final long serialVersionUID = -7355457414167062844L;

    private String property;

    private String column;

    /**
     * 可能加上mysql转义符``的属性名，只有在属性名为保留关键字时才会添加
     */
    private String escapedProperty;

    private String escapedColumn;

    private Class<?> propertyType;

    private boolean insertable = true;

    private boolean updatable = true;

    private boolean ignoreEmptyString = false;

    private boolean propertyColumnEqual = true;

    private Class<? extends TypeHandler> typeHandler;





}
